package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Bed;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.dto.vo.BedNumber4BuildingsVO;
import com.example.mybatisplus.model.dto.vo.StatsVO;
import com.example.mybatisplus.model.vo.StatisticVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2024-07-16
 */
@Repository
public interface BedMapper extends BaseMapper<Bed> {


    List<StatsVO> getBedByID();

    List<BedNumber4BuildingsVO> getBedByBuilding();

    List<StatisticVO> spareBed();
}
